package com.love.marriage.carouselBannerInfo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.love.marriage.carouselBannerInfo.entity.CarouselBannerInfo;
import com.love.marriage.carouselBannerInfo.vo.CarouselBannerInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 展示轮播图表 服务类
 * author: mybatisPlus
 * createDate: 2024-10-20 10:10:50
 * description: 我是由代码生成器生成
 * version: 1.0.0
 */
public interface CarouselBannerInfoService extends IService<CarouselBannerInfo> {

    Page<CarouselBannerInfoVo> getPage(Long pageNum, Long pageSize, CarouselBannerInfoVo carouselBannerInfoVo);

    List<CarouselBannerInfoVo> list(CarouselBannerInfoVo carouselBannerInfoVo);

    CarouselBannerInfoVo queryCarouselBannerInfo(Long id);

    CarouselBannerInfoVo addCarouselBannerInfo(String title, MultipartFile file) throws Exception;

    CarouselBannerInfoVo addCarouselBannerInfo(CarouselBannerInfoVo carouselBannerInfoVo) throws Exception;

    CarouselBannerInfoVo updateCarouselBannerInfo(CarouselBannerInfoVo carouselBannerInfoVo);

    Boolean deleteCarouselBannerInfo(String ids);
}
